let health = 80; if (health > 50) { status = "COMBAT_READY"; } else if (health > 0) { status = "CRITICAL_WARNING"; } else { status = "SYSTEM_OFFLINE"; }